package com.open.capacity.tenant.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;


/**
 * @program: open-capacity-platform
 * @author: GuoGaoJu
 * @create: 2023-03-20
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "租户注册")
public class CreateTenantDto {

    @NotBlank
    @ApiModelProperty(value = "租户名/昵称",required = true)
    private String name;

    @ApiModelProperty(value = "租户电话")
    private String phone;

    @ApiModelProperty(value = "租户邮箱")
    private String email;

    @NotBlank
    @ApiModelProperty(value = "租户标识",required = true)
    private String tenantId;

}
